"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

exports.default = function (results) {
  var cleanedResults = results.map(function (result) {
    return _lodash2.default.omitBy(result, function (value, key) {
      return key[0] === "_";
    });
  });
  return JSON.stringify(cleanedResults);
};

var _lodash = require("lodash");

var _lodash2 = _interopRequireDefault(_lodash);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }